home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Softdisk Supreme
/
Softdisk Supreme.iso
/
pc
/
DSK Files
/
0-49
/
SD020d.dsk
/
LOGO.bas
< prev
next >
Wrap
BASIC Source File
|
2003-06-12
|
1KB
|
50 lines
10 REM ************
20 REM * SOFTGRAPH LOGO
30 REM ************
40 ONERR GOTO 460
50 POKE -16368,0: POKE -16304,0
60 IF PEEK( -16384) >127 THEN 490
70 DIM AM(16,2)
80 FOR X = 1 TO 16
90 READ AM(X,1),AM(X,2): NEXT X
100 X = 0
110 FOR T = 1 TO 50: GOSUB 420: FOR DL = 1 TO 55: NEXT DL
120 IF PEEK( -16384) >127 THEN 490
130 NEXT T
140 IF PEEK( -16384) >127 THEN 490
150 HCOLOR= 5
160 FOR XP = 5 TO 269 STEP 6
170 HPLOT XP,80 TO XP,146
180 FOR DL = 1 TO 16: NEXT DL
190 IF XP = 269 THEN 230
200 GOSUB 420
210 HPLOT XP +6,80 TO XP +6,146
220 FOR DL = 1 TO 16: NEXT DL
230 NEXT XP
240 IF PEEK( -16384) >127 THEN 490
250 FOR YP = 80 TO 146 STEP 6
260 HPLOT 5,YP TO 270,YP
270 GOSUB 420
280 FOR DL = 1 TO 45: NEXT DL
290 NEXT YP
300 FOR T = 1 TO 30: GOSUB 420: FOR DL = 1 TO 55: NEXT DL
310 IF PEEK( -16384) >127 THEN 490
320 NEXT T
330 GOSUB 420: POKE 250,146: POKE 251,79: CALL 16770
340 FOR T = 1 TO 60: GOSUB 420: FOR DL = 1 TO 55: NEXT DL
350 IF PEEK( -16384) >127 THEN 490
360 NEXT T
370 GOTO 490
380 DATA 0,96,135,96,14,97,149,97
390 DATA 28,98,163,98,42,99,177,99
400 DATA 56,100,191,100,70,101,205,101
410 DATA 84,102,219,102,98,103,233,103
420 X = X +1: IF X >16 THEN X = 1
430 POKE 250,AM(X,1): POKE 251,AM(X,2)
440 CALL 16840
450 RETURN
460 POKE 216,0:ER = PEEK(222)
470 IF ER = 255 THEN 490
480 STOP
490 POKE -16368,0: TEXT : HOME
500 PRINT : PRINT CHR$(4);"RUN SOFTGRAPH"